-
Home
-
MDirector Newsletter
-
3.0.21
-
Code
-
Classes
- Mdirector_Newsletter_Utils
Total Complexity |
147 |
Dependencies |
11 |
Dependents |
5 |
Total lines |
1,069 |
Lines of code |
654 |
Logical lines of code |
295 |
Comment lines |
131 |
Methods |
50 |
Properties |
3 |
Methods 50
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getRegisterFormHTML() |
A |
40 |
15 |
56 |
mdSendWeeklyMails() |
A |
41 |
11 |
52 |
mdSendDailyMails() |
A |
43 |
9 |
46 |
sendMailAPI() |
A |
41 |
7 |
57 |
composeEmailSubject() |
S |
51 |
6 |
27 |
getSelectFrequency() |
S |
52 |
5 |
27 |
getCurrentLanguages() |
S |
54 |
5 |
22 |
mdSendMail() |
S |
49 |
4 |
31 |
getCurrentTemplate() |
S |
58 |
5 |
16 |
getCurrentListId() |
S |
59 |
5 |
14 |
findKeyInMultiArray() |
S |
63 |
5 |
10 |
getExcludeCats() |
S |
61 |
4 |
12 |
getCurrentLang() |
S |
62 |
4 |
12 |
textTruncate() |
S |
57 |
3 |
16 |
buildPosts() |
S |
59 |
3 |
14 |
getMainImage() |
S |
63 |
3 |
11 |
buildDailyMails() |
S |
63 |
3 |
10 |
getTemplateMainFile() |
S |
64 |
3 |
10 |
buildWeeklyMails() |
S |
64 |
3 |
10 |
checkIfDeliveryCanBeSent() |
S |
63 |
3 |
10 |
getMinimumPostsForNewsletter() |
S |
59 |
2 |
14 |
resetNewsletterDeliveryDateSent() |
S |
62 |
2 |
11 |
getDynamicPostTitle() |
S |
68 |
2 |
7 |
isDeliveryActive() |
S |
67 |
2 |
7 |
getDeliveryCampaignId() |
S |
68 |
2 |
7 |
cleanNewsletterProcess() |
S |
63 |
2 |
10 |
getImageTagFromPost() |
S |
64 |
2 |
10 |
calculateFromDate() |
S |
68 |
2 |
6 |
getTemplatePath() |
S |
68 |
2 |
7 |
getMainImageSize() |
S |
74 |
2 |
5 |
getPluginOptions() |
S |
76 |
2 |
4 |
parsePost() |
S |
61 |
1 |
12 |
getPostsArgs() |
S |
64 |
1 |
11 |
buildWeeklyMailsInPreviewMode() |
S |
76 |
1 |
4 |
calculateToDate() |
S |
71 |
1 |
5 |
buildDailyMailsInPreviewMode() |
S |
76 |
1 |
4 |
__construct() |
S |
76 |
1 |
4 |
getPosts() |
S |
70 |
1 |
6 |
setHTMLContentType() |
S |
82 |
1 |
3 |
isWPML() |
S |
80 |
1 |
3 |
parsingTemplate() |
S |
69 |
1 |
6 |
isTemplateCustom() |
S |
79 |
1 |
3 |
getTemplateName() |
S |
75 |
1 |
4 |
templateMainFileIsTwig() |
S |
75 |
1 |
4 |
resetDeliveriesSent() |
S |
68 |
1 |
7 |
getCustomTemplatesPath() |
S |
72 |
1 |
6 |
getUserCustomTemplates() |
S |
75 |
1 |
4 |
getDefaultTemplates() |
S |
75 |
1 |
4 |
getPluginTemplates() |
S |
79 |
1 |
3 |
buildListFromPosts() |
S |
64 |
1 |
10 |